﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    SinProject
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:28
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:28
    /// </summary>
        [OrmPropertyAttribute(TableName = "SinProject",PrimaryKey = "Sp_ID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class SinProject
    {
        #region 构造函数
        public SinProject(){}

        public SinProject(int sp_ID, string sp_Name, string sp_Person, string sp_Money, DateTime sp_Time, decimal sp_ContractFunds, string sp_Number, string sp_Class, DateTime sp_EndTime)
        {
           this._sp_ID = sp_ID;
           this._sp_Name = sp_Name;
           this._sp_Person = sp_Person;
           this._sp_Money = sp_Money;
           this._sp_Time = sp_Time;
           this._sp_ContractFunds = sp_ContractFunds;
           this._sp_Number = sp_Number;
           this._sp_Class = sp_Class;
           this._sp_EndTime = sp_EndTime;

        }
        #endregion
        
        #region 成员
        private int _sp_ID;
        private string _sp_Name;
        private string _sp_Person;
        private string _sp_Money;
        private DateTime _sp_Time;
        private decimal _sp_ContractFunds;
        private string _sp_Number;
        private string _sp_Class;
        private DateTime _sp_EndTime;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Sp_ID
        {
            get { return _sp_ID; }
            set { _sp_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Sp_Name
        {
            get { return _sp_Name; }
            set { _sp_Name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 120,IsNull = "1")]
        public virtual string Sp_Person
        {
            get { return _sp_Person; }
            set { _sp_Person = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Sp_Money
        {
            get { return _sp_Money; }
            set { _sp_Money = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime", ParameterLength = 16, IsNull = "1")]
        public virtual DateTime Sp_Time
        {
            get { return _sp_Time; }
            set { _sp_Time = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal",ParameterLength = 10,IsNull = "1")]
        public virtual decimal Sp_ContractFunds
        {
            get { return _sp_ContractFunds; }
            set { _sp_ContractFunds = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 60,IsNull = "1")]
        public virtual string Sp_Number
        {
            get { return _sp_Number; }
            set { _sp_Number = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Sp_Class
        {
            get { return _sp_Class; }
            set { _sp_Class = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "datetime",ParameterLength = 16,IsNull = "1")]
        public virtual DateTime Sp_EndTime
        {
            get { return _sp_EndTime; }
            set { _sp_EndTime = value; }
        }
        #endregion
    }
}